Not all implementations of Microsoft GW-BASIC support all of the events described. If an event trapping statement is encountered for an event that is not supported, a "Device unavailable" error will result.
The handling of active and visual pages is a machine-specific operation. You should consider expanding on your unit's approach in this section.